package com.kymatrix.kycarbon.xsmd.common.business.oss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kymatrix.kycarbon.xsmd.common.business.oss.model.entity.OssFile;
import java.io.InputStream;
import org.springframework.web.multipart.MultipartFile;

public interface OssService extends IService<OssFile> {

    /**
     * minio文件上传
     */
    OssFile configUpload(MultipartFile multipartFile) ;


    OssFile upload(InputStream in, String fileName);

    OssFile uploadFile(InputStream in, String fileName);

    InputStream getFileByUrl(String url);
}
